package cn.kgc.vue.service.impl;

import cn.kgc.vue.commons.ResponseResult;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.kgc.vue.entity.Score;
import cn.kgc.vue.service.ScoreService;
import cn.kgc.vue.mapper.ScoreMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author mengshun
 * @description 针对表【sys_score】的数据库操作Service实现
 * @createDate 2024-07-12 09:29:54
 */
@Service
public class ScoreServiceImpl extends ServiceImpl<ScoreMapper, Score> implements ScoreService {


    @Override
    public ResponseResult scoreVisual() {

        List<Score> scores = baseMapper.selectScoreVisual();
        return ResponseResult.success().data("scoreList",scores);
    }
}




